#!/bin/bash


#    / **  
#    * 文件名：安装配置 python pip
#    * 版权： Copyright 谢振斌  All Rights Reserved.  
#    * 修改内容：新增  
#    * 修改人： 谢振斌  
#    * 修改时间：2021-3-24 
#    */  

# 字体 
# https://github.com/ryanoasis/nerd-fonts
# https://hub.fastgit.org/ryanoasis/nerd-fonts

# All fonts are available via Homebrew Cask Fonts on macOS (OS X)
#brew tap homebrew/cask-fonts
#brew install --cask font-hack-nerd-font
# > 此法没成功

# or
# git clone https://github.com/ryanoasis/nerd-fonts
# git clone https://hub.fastgit.org/ryanoasis/nerd-fonts
# ./nerd-fonts/install.sh
# 仓库太大 改为只下载需要那种的打包好的字体文件
wget https://hub.fastgit.org/ryanoasis/nerd-fonts/releases/download/v2.1.0/JetBrainsMono.zip


# ranger 搭配依赖软件

#  img2txt (from caca-utils) for ASCII-art image previews
#  w3mimgdisplay, ueberzug, mpv, iTerm2, kitty, terminology or urxvt for image previews
#  convert (from imagemagick) to auto-rotate images and for SVG previews
#  ffmpegthumbnailer for video thumbnails
#  highlight, bat or pygmentize for syntax highlighting of code
#  atool, bsdtar, unrar and/or 7z to preview archives
#  bsdtar, tar, unrar, unzip and/or zipinfo (and sed) to preview archives as their first image
#  lynx, w3m or elinks to preview html pages
#  pdftotext or mutool (and fmt) for textual pdf previews, pdftoppm to preview as image
#  djvutxt for textual DjVu previews, ddjvu to preview as image
#  calibre or epub-thumbnailer for image previews of ebooks
#  transmission-show for viewing BitTorrent information
#  mediainfo or exiftool for viewing information about media files
#  odt2txt for OpenDocument text files (odt, ods, odp and sxw)
#  python or jq for JSON files
#  fontimage for font previews
#  openscad for 3D model previews (stl, off, dxf, scad, csg)

brew install w3m
